package com.wjw.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * 
 * @author Administrator
 * 购物车类
 */
@TableName(value="card_item")
public class CardItem implements Serializable{

	/**
	 * 
	 */
	@TableField(exist=false)
	private static final long serialVersionUID = 4L;
    //主键
	@TableId(type = IdType.AUTO)
	private Integer cardItemId;
    private Integer count;
    private Integer subtotal;
    private Integer gid;
	public Integer getCardItemId() {
		return cardItemId;
	}
	public void setCardItemId(Integer cardItemId) {
		this.cardItemId = cardItemId;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public Integer getSubtotal() {
		return subtotal;
	}
	public void setSubtotal(Integer subtotal) {
		this.subtotal = subtotal;
	}
	public Integer getGid() {
		return gid;
	}
	public void setGid(Integer gid) {
		this.gid = gid;
	}
}
